package cn.itcast.service.impl;

import cn.itcast.dao.StudentDao;
import cn.itcast.dao.impl.StudentDaoImpl;
import cn.itcast.domain.Student;
import cn.itcast.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
    private StudentDao dao = new StudentDaoImpl();

    public List<Student> findAll() {
        return dao.findAll();
    }
}
